package com.cloud.springcloud.alibaba.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName HuangXiangXiang
 * @Date 2020/4/15 22:02
 * @Version V1.0
 **/

@RestController
public class Controller {


    @GetMapping("/getNameA")
    public String getName() {
        return "你好：8401 A";
    }


    @GetMapping("/getNameB")
    public String getNameB() {
        return "你好：8401 B";
    }
}
